import { createApp } from 'vue'
import App from './App.vue'
import './index.css'
import router from './router/router';
import store from './store/index'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElIcons from '@element-plus/icons-vue'
import './router/permission'
const app = createApp(App);
app.use(router);
for (const name in ElIcons){
    app.component(name,(ElIcons as any)[name])
}
app.use(ElementPlus);
app.use(store);
app.mount('#app');
